package cn.neusoft.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MvpSubstation {
  private String commodity_id;
  private String commodity_name;
  private Long delivery_amount;
  private String substation_id;
  private BigDecimal delivery_fee;
  private Long return_amount;
  private BigDecimal return_fee;
  private BigDecimal total_fee;
  private String measure;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date start_date;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date end_date;

}
